package com.weipu.common.facade.model;

import java.io.Serializable;

import android.os.Parcel;
import android.os.Parcelable;

public class PackageTrace implements Parcelable,Serializable{
	private static final long serialVersionUID = 2058276283944278151L;
	String traceTime;// 跟踪记录时间
	String trace;// 跟踪记录描述

	public String getTraceTime() {
		return traceTime;
	}

	public void setTraceTime(String traceTime) {
		this.traceTime = traceTime;
	}

	public String getTrace() {
		return trace;
	}

	public void setTrace(String trace) {
		this.trace = trace;
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(trace);
		dest.writeString(traceTime);
	}
	
	public PackageTrace(){}
	public final static Parcelable.Creator<PackageTrace> CREATOR = new Creator<PackageTrace>() {
		
		@Override
		public PackageTrace[] newArray(int size) {
			return new PackageTrace[size];
		}
		
		@Override
		public PackageTrace createFromParcel(Parcel source) {
			PackageTrace trace = new PackageTrace();
			trace.trace = source.readString();
			trace.traceTime = source.readString();
			return trace;
		}
	};
}